#ifndef WORKPIECEE452_H
#define WORKPIECEE452_H

#include <thread>
#include "../Workpiece.h"


class WorkpieceE452 : public Workpiece
{
public:
    WorkpieceE452();

    void CacheData(int workpieceId,
                         int pictureId);
    void ProcessData();

    /***********************************************************************
     *  @function SetTemplatePath
     *  @brief    设置模板s_model的存放目录
     *  @param
     *  @return
    ***********************************************************************/
    bool SetTemplatePath(const std::string &path);

    /***********************************************************************
     *  @function SetStandardVal
     *  @brief    设置标准值
     *  @param
     *  @return
    ***********************************************************************/
    void SetStandardVal(const std::map<std::string, float> &standardValMap);

private:
    std::thread             m_thread;
};

#endif // WORKPIECEE452_H
